package unit;

import static debug.Debug.DBUG;
import java.util.List;

import model.Map;

import util.IntPoint;

import client.Client;
import event.AlfaEvent;
import event.AnswerEvent;
import event.TalkEvent;
import event.UnitEvent;

public class Npc extends Unit{
	
	public Npc(int id, IntPoint start, Map startmap){
		super(id, start);
		moveAbilities.add("walk");
	}
	
	public void tick(){
		
	}

	@Override
	public void sendUpdate(Client client) {
		client.updatedObject(this);
	}

	@Override
	public void fireEvent(AlfaEvent e) {
		if (e instanceof TalkEvent) {
			DBUG("npc got talked to!");
		}
	}
}
